package com.fc.entities

import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.ManyToOne
import javax.persistence.Table
import javax.validation.constraints.NotNull

@Entity
@Table(name = "WorkoutJournal")
class WorkoutJournal extends BaseEntity {
	@ManyToOne
	@NotNull
	Workout workout

	@Column(name = "date")
	Date date = new Date()
	
	@ManyToOne
	User user
}

